/*主功能区模块资源引用映射*/
const SKIN_RESOURCE_MAPPING = [
    {
        id:1,
        name:"SKIN_LANTER_RESOURCE",
        cls:"skin-lantern"
    },
    {
        id:2,
        name:"SKIN_FIREWORKS_RESOURCE",
        cls:"skin-fireworks"
    },{
        id:3,
        name:"SKIN_KNOT_RESOURCE",
        cls:"skin-knot"
    }
];

$(function () {

    var id = Math.ceil(Math.random() * SKIN_RESOURCE_MAPPING.length );
    $(".wrapper").addClass(SKIN_RESOURCE_MAPPING[id-1].cls);


    /*春节皮肤灯笼30s隐藏*/
    setTimeout(function () {
        $(".swing-decorate").animate({opacity:0},function () {
            $('.swing-decorate').hide();
        });
    },30*1000);
});
